package cards;

import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;

public class ZhuQue extends Weapon {
	// IMPORTANT, card class doesn't rewrite paint(). it rewrite IMAGE
	public static BufferedImage image;

	public static void ImageInit(BufferedImage toBinit) {
		image = toBinit;
	}

	@Override
	public BufferedImage getImage() {
		return image;
	}
	public ZhuQue(){
		this(0,0);
	}
	public ZhuQue(int c, int n) {
		super("ZhuQue", c, n, "Any Attack can be used as a FireAttack", Range.createRanges(4));
		// TODO Auto-generated constructor stub
		rangeNum = 4;
	}
	@Override
	public boolean instanceOf(String superClass) {
		if(super.instanceOf(superClass)){
			return true;
		}
		if(superClass.equalsIgnoreCase("ZhuQue")){
			return true;
		}
		return false;
	}
}
